import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import api from './api' // 引入api
const app = createApp(App)
app.config.globalProperties.$api = api // 全局挂载api
app.use(router) // 注册路由
app.mount('#app')
